package cn.wolfcode.cloud.shop.feign.hystrix;

import cn.wolfcode.cloud.shop.domain.User;
import cn.wolfcode.cloud.shop.feign.UserFeignApi;
import cn.wolfcode.cloud.shop.resp.Result;
import org.springframework.stereotype.Component;

@Component
public class UserFeignHystrix implements UserFeignApi {

    @Override
    public Result<Boolean> refreshToken(String token) {
        //服务降级,返回null
        return null;
    }

    @Override
    public Result<User> findByToken(String token) {
        return null;
    }
}
